pin scanning added