remove old methods and variables