removed uneccessary array