added a structure to rb file