client module[fixed rubocop complaints]