Added select query for objective