Medium25 pts

Controlling cost