removed print statements for cleaner output