add common helper