blend functions not working as expected :/