needs to be inside the fi I guess