Edit some functions