more linemask hackery