added hydrate method to method based model