added two interface functions