removed logging to console