refactored variable name to "skeleton"