reads input correctly, fixed-length