Fixed wrong method name
Added method for create hash