use name space in function