added check out feature