Added -w flag to improve speed