improved logic to set tower