starting to implement new views code