removed unneeded top stuff