selecting and changing elements properties