moved code to static page