make getPriority() virtual (by para)