added print to console