prints routine to browser