static not working