test the interface