cleaing up schemes