checkout and empty