WOPR functional model in the new legal regulations in Poland