half finish adding struct to checker