Removed vars
Added db events stubs