remove old unneeded code