Added pin mapping