Static version seems to almost work