Added variable topBase

Added variable topBase