add overlapping gate todo
add "add gate" functionality from user's commands