key view is working