Added basic functionality for returning the hash