lose

added in lose function