get parameters from role not hardcoding