a cup of java transforming into a scala ladder