added loosing and reset game