Add lost attribute in function.