implementing choice window - not tested