some simple interface functions