#190 added more functionality. prints know the type syntactically like in rail