attached ig variable to method