added role for java7