updated to old syntax for karma module