add length specifier to printn