add system cost calculation