Added funcitons x