Finxing function not being in the scope

Finxing function not being in the scope