[refac] update the name of the union type so it won't collide with the structure
[fix] updated the nob version of functions
[fix] Remove spurious declaration