replace deprecated function start/stop