example: use .img method instead of .url
exmaple: add jsdoc