modify suggestion algorithm