Added function to handle 2 properties for transitions