add getting items method.