Wrote the checker