Reinsert some functions