simple function patch
