go on writing template class and add user dictionary