added simple cost structure