started to implement method data type