adds listening on console log