define interface methods for each API