working program
add/remove buggy