Wrote the get method, though it needs tests.