added tmp structure