removed xml frame definition, creating one in code instead