added outdated code and comments