adding new code to lockbot