passing through character classes