several semicolons on conditionals here, that shouldn't be.