working character identifcation and database storage