9.1a he enters any building or part of a building as a trespasser with intent to steal anything in the building, or part of the building, or inflict GBH on any person therein or, do unlawful damage to the building or anything therein. 9.1b having entered any building or part of a building as a trespasser he steals or attempts to steal anything in the building or hat part of it or inflicts or attempts to inflict on any person therein any grevious bodily