resurrect functions for doc