worked out tags and limits on client side