Fixed add method, added clear butto for debugging