new functions 2014
update settings.r