moved another func to a module