Added faster get implementation, and added ability to pass in a default value to get function