implemented get operation