implements checkou