echo made more efficient