renamed selections var to parts