Adding function.