Added new part of function which returned decision's validity