Changed deepValue ref to getFn