removing useless data structure