checkout procedure