added main pannel