make checkout depth a variable