added more delay before sending codes