fixed bug in clear all functions and edited text file to reflect new commands