added the changes whis it leads to the fully funcionality