setting up skeleton structures