changed to regexp for module declarations