added function call
done with plugin, need to test now