setting correct properties