My program work fine. Where is the problem?