improve code, remove unnecessary clone
remove unnecessary life parameters