handle locals differently