added functions fix