Use package function for create role