added an extra sleep buffer