updated to work with deface