whoops, placed else outside if block in last commit