add backTo and getHistories