added duration and price to types