Needed to convert hash into long