fixed nil problem
fixed nil problem
fixed nil problem
changing number of confs showed
added return statement