Added threshold limit to waves