make separate files for view