check in request related code