adding redirty closes #48