removed an extra set of calls to top