added first function to the package