add properties code part 2