initial checkin for clear functionality
allow a clearall by not passing in a parameter, and dont abort current request
Merge Clear functionality from branch