Next attempt at homework