Refactored check writing w/ @AriGonzo