added sensor pattern