expanded the architecture with external input signals