removed common.r