fixed stuff & added example