added methods in thee match controller