added Examples and Main