controlling cost