rm unneeded code