Modified palin slightly