initial commit
reverted to use model object