deprecated code fucking my life