removed superfluous main call