Added isClean
Added checkout