UPPERCASE! (how could I forget about that...). added log-function