finalize the clear functionality and add instructions