modify postDoc method