doc for costs.mlp