fixed formating and added used parameters output