initial version of grant_spec added