added option to delete pupils