added cost calculator