add common package with isNumber method