set up an interface