adding scope methods to clean up queries