split out more views from main file