Fleshed out methods and set up references