Added Arrays and its now working for one line