this is done in xml