creating single array