This is a crappy part. How to do it statically?