update the skeleton, but still has issues