adding limits patch