added main and time elements