working towards tag writing