porting over selection