Cost

TODO: Write up cost with examples.