added some basic hash stuff