Add input pin initalization