added boolean constant support