simple line parser