how to check out code