set 2 functions to be inline