handling multiple properties at once