Added some parts of the new lose feature.