Corrected parameter named and added documentation