This is a simple x-tag implementation, just for tutorial purposes