created basic logic for accepting
created basic logic for declining