Add error protection in the methods