trying to understand why it works on my computer and not online