Adding online mode