fixing datatype and adding new property