working on static compilation