added code & comment