Trimmed some code to get views working