Added new init setup for pins