working for view files