remove subscribem here and put it into the config