made Ant entity code easier to understand