accept and reject logic and desing