main pg done