calculator type change