calc working different controllers