a simple area calculation