added r selector and marker