debug take a seat function