c5014d4765
* replace existing function (the new one makes it more clear which element was printed) * prints position for element * handles invalid psi element