Added delect option to Main