comment out viewdidappear for testing