added actual length and limit