Adding functional form for dynamic