updated datatypes with scala types