added true false generator