added public field to texts