When is the right time to do a PhD