added default cost value