implemented resign