finished up first version of xml aspect