Commit 1 started the area calculation function