add a comment on what can be done to simplify code