added clear/take snapshot options