switch accessor use