Remove superfluous function and add copyright