added getHandle() and closed #4