Limit

Added a limit function