added in dynamic panel construction.