use $timeout not $applay