fixing the add method in the Olist object