removed model dependency from views