Add alternative solution for #10 and comment