change inheritence to flenter/java (only temp.)