Not working outputFunction yet :/