added empty constructor in Java