refactoring chofirmchosenseat function