added simple hash for lecture