rewrite of l2linbas