Resolved error due to removal of print statement.