Added delayed action updated main to reflect the changes.