add comment
fix bug for the at function in candpq, still performs bad