Updated version
added dependency
Added max limit