Implemented internal pin mapping