create text calculator