interface for test