A little line of code that would have helped me