implmented logic for bool vs float vs int global assignment, implemnted bool and int