added supporting for tags information, pep8 fixed