Example of registerTower function usage