moving bug behavior directly to bug.lua