[beta] Add printing function