Added first thoughts on scope dependant functions