return id of created task