The check in/check out function needs testing