got the check in working in a kinda hacky way, but it works for now