how am i going to use transistors to control the the current for each layer?