Unfortunatelly this is not a Scala code