Added print out for logging