implementing live mode