queries for guest

a lot need to be done in JAVA