added print statements to all functions