added simple creator in Java