inheritance snippet added
inheritance snippet cleanup