Decided to delete function __destruct and put base functions in the function __construct()