refacter detail