digital inputs added