remove code no longer used; closes #679