added multi and binary perceptrons