Added function for losing packages