Adding photo algoritms and others.