Added initial sensor code