finished setting up most of the rights