put prompt on same line and added }