Setting up statements view