why this, old coding was correct