Added map definition and examine() method