added boolean function to Prototypemap