attempting to improve speed