solution for static