some style updates for testing and fixed examples