add allowed_args method