refined theft or homage and deleted unused code