removed debug code and added to version