Added decide() function.