Add 'add' and 'list' switch statement