correct code style for data module.