use sys! much simpler! --kazu