FIx test according to algorithm
Fix function invocation
Save this peace of shit in my algorithm only because it proved it self as working!!!!