How To Assign Variable To A Function