removing log10 logic!