added a get detail method
added set detail method