implemented get command