some integration stuff
Test mode