Adding blocking IO