added numpy log transform