works for single pdb now