added getByTag feature