added all init and destroy data queries