moved code to tower class