Got rid of print statements(used for testing)