implemented object rotation to get plate coordinates