added a limit method.