added reduce skeleton