changing all options into single array