added simpler run method