console logging working now