added string to array conversion