change data types and methods