added has_scope gem