added analog sensor output