refactoring;remove apply button;add function