added crossapplicationdata and two methods on directory