Added mock_grant