simple calculation demo