made converter an interface