refactored simple get implementation