basic calcuration added