fixed parameter
removed unncessary print statments
fixed print statments