added checkouts, partially working