added dynamic part creation handler