Added delay to write