Added : log functions