The principles of role building