Simplify .top code