Solovay Strassen funcitoning