function module() replaced by stub generating an excetion