changed enable sensor code to 7