added online-list function