working out views, starting to hook up events