passed name and ajc to resultviewcontroller