The entire body is covered with a thin , flexible exoskeleton of chitin to which muscles are attached internally and shed periodically .
Their muscles are attached internally .