program can do the knocking phase