added scala & java language definition