Edited object to array slightly