added background mode measurement