adds wait time for next page in creates Database