added position to entity as an int[]