Added functionality for placing the units