Comment and try/except roles function