cleaned up alphaequiv