adding in pin configuration