added check in/out