find slow loop -- gradient is super slow..