old code for getting assignments removed