start of asset monitoring code.