modified delay to 1f