added in header in common.cpp