changes to func/warnings