PDO method. Trying to make it as possible as it can.