changed to log plot