corrected run() declaration