Divided NA control into functions