shorter line checking