added support for "position" tag