a simple calculate