convert rest of views to slim