add comments & fix time_online