removed hex() method