use readline
mod result string to array