change printf to LOG