Added common.cpp