split private and public map in list
switch to PDO