updated to show properties correctly