Added dynamic costs