removed email func