new routine to read skeleton data