added boolean and float support