added delayed function calls