unused variable removed and visual for success state