dealing with speed issue