var fibs;
fibs = [int val]{

	var pos;
	pos = 2;
	var a;
	a = 1;
	var b;
	b = 1;
	
	var junk;
	
	for(junk = 0; pos < val ; pos = pos + 1) {
	
		var along;	
		along = a + b;
		a = b;
		b = along;
		
	};
	
	return b;
	
};

return fibs(10);
