Random stuff from C++-spring-2012