Working on better objectg handling by using an array class