Online detection