changed cost variables to decimal type