adding php tag to model