Convert "top" to the new infrastructure