-Add: cost calculation (first step)