console log not working