Corrected type of properties to double