type correction
variables corrected for types again