added main skeleton