Fixed small issues and added param explanations