Implemented knocking behavior