use pdo, constructor attributes