working plain calc