Thank you it worked with some creativity using operators