wrap all functions inside setTimeout's