Update logic.js

prints stuff