function to use number as defined string