removed debug code, updated compressed version