Fixed main call