start of implementation of tagging system