add scala extension