Fixed getCost methods