boolean function added