added checkout variable