added dynamic controls