Java code for Siane App