delay added
write stub added