closer to getting static to work but not working at the moment