okayyyy blending function is actually a mystery currently