commonAPIfunction added