fixing incorrect logic in start() method