almost work for static scheduling