added main/details on add page