my small project in java