Cos fixes #5

Awesome job! Go ahead and merge this back into master.