added example, fixed toString