removed some silly console.log statements, add default level option