made it so that createAnt is its own function