Adding correct delay value