got console working for debugging