Added support for adding pin