added log methode
fixed some derps