adding support for selection and gameplay