changes to try to get view working