Implemented bnn shake