add comments for all deprecated code