similarities funciton first draft