updated to work with deface 1.0