updates my issues with a useful print out function: