removed the puts statement and simplified the execute statement