added generics to AtomsManager