Replace print statement by function