added skeleton index stuff