wierd, but needed to make it as an instance variable