switch from class to obj pdo statements