getting views working