Added pin read function