added letter data class