updated examples + minor changes