Added function get tags