Cost model stuff is fun!