added end date to findTemp