working on scopes and frontend