kris09 wrote: so i have to use a character class You did this before too... Why don't you tell us what your requirements actually are before we start giving you otherwise useful advice that is useless to you? Tell us what the homework question actually says, not your interpretations of it, what it says, exactly. Then maybe we can point you ...