Revert "Revert "funcion""

This reverts commit 7d7e34c7a542396c74b712b218cf9b5eb9ae0141.