readded decision method after accidentally deleting