altering select so it can choose which atoms to look at