removing log calls