Adding passive agressive algorithm