add tower function