move success message out into cleaner code because i shouldnt write stupid code