need to complete from & to static vars