implementing all compass dependency