adding mock functions into bin/control