some Java simple