setting up properties correctly