can we  move this to common_def.h?