add data structure to handle services