removed hardcoded dy