added a simple sensor history model