added the correct clone statement and modified the footer