pull out interval to settings