get rid of 'to' from functions