building APA weak scheduler