working with userdata
with selected:
logs
with logs: