got rid of online mode