main function of crusher machine