finish implementing check generator