Created misc.cpp