Auxiliary function
 
x
OK