convert top levels