Modified tag 'a'
Сode change places
Fix bugs and optimization code