added additional functionality to inspection class