now uses correct method to add properties