completed cost function components