Code created while learning javasf