added print to console log