added javaFx functionalities