added length specifiers to scanf