added settings attribute for resizing resolution