readding end on get method so everything doesn't crash