add setter for top
Merge pull request #381 from rmcgibbo/top

add setter for top