Added a replacement for fetch and added the setter method