fixed structure for better processing, still work in progress