Back and front end code that keeps track of shpe membership