line parser implemented ad working