added hasRight test. wasnt really necessary  though. also refactored old names