Basic working program finished