add new interface to scala