added empty function as 3rd argument