fixed little halt bug, added addition sample