add mode support (no interface to change mode yet)