added 2 more algorithms