moved array to commaseperated code to base