created the overall skeleton