added more variables for sprites and arrays objec