some functional support to get tags