added mode of pred boolean to function, new heat map aes