Added getItem method