cleaning up top level