added calculateOrder and showOrder methods