Better prints and setting the input parameters correctly