removed deprecated code

closes #11