Implemented "online" method.