Added print statements for clarity in terminal