played with java inputs/gui