Added frequency argument