working on model specification