patch from andrew nile