Added open ended function weight for demo purposes