working on limits and functions