define insert-related controllers