changed reading field on log table to a float field