added settings, medlog