added API delay