add some details to functions