Added sensor input.