add support for scala using println