set options to elements added