remove first version of the function