changed online methods from string to bool