skeleton for java users.