added input pins