implementing check out on