making st work without active record