added scopes to book model