dropping unnecessary strlen()s