removed Views and print statements