dev

Thing function almost completed.