Setting rvalue for custom funcs