cambio de nombres
added some functions to make it usable