remove old code no longer used