added struture for master